module.exports = {
    getDetailMovie({movieId = 345419}){
        return $.ajax({
            url: `/api/ajax/detailmovie?movieId=${movieId}`
        })
    },
    post({time = new Date().getTime(),
        ID = 345419,
        CityId = 1,
        offset = 0,
        Day = 2019-10-22}) {
            return $.ajax({
                type: 'POST',
                url: `/api/ajax/movie?forceUpdate=${time}`,
                data: {
                    movieId: ID,
                    day: Day,
                    offset: offset,
                    limit: 20,
                    districtId: -1,
                    lineId: -1,
                    hallType: -1,
                    brandId: -1,
                    serviceId: -1,
                    areaId: -1,
                    stationId: -1,
                    updateShowDay: true,
                    reqId: time,
                    cityId: CityId,
                }
            })
        }
}